package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * Created by rzh on 18-12-17.
 */
@Data
public class BaseSiteAddDto {
    @NotEmpty(message = "网点编号不能为空")
    @ApiModelProperty("网点编号")
    private String siteCode;
    @NotEmpty(message = "网点名称不能为空")
    @ApiModelProperty("网点名称")
    private String siteName;
    @NotEmpty(message = "地址不能为空")
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("联系人")
    private String contacts;
    @ApiModelProperty("联系电话")
    private String contactsPhone;
    @NotNull(message = "城市不能为空")
    @ApiModelProperty("城市")
    private int cityId;
    @NotNull(message = "区县不能为空")
    @ApiModelProperty("区县")
    private int countyId;
    @NotNull(message = "省份不能为空")
    @ApiModelProperty("省份")
    private int provinceId;
    @NotNull(message = "是否分拨")
    @ApiModelProperty("是否分拨0 否分拨 1 分拨")
    private int isDistDept;
    @ApiModelProperty("经度")
    private String longitude;
    @ApiModelProperty("纬度")
    private String latitude;

}

